package com.itheima.reggie.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page<T> {
    private List<T> records;
    private long total;
    private long pageSize;
    private long page;
    public Page(List<T> records){
        this.records = records;
    }
}
